
#if defined(WIN32) || defined(WIN64)
#pragma unmanaged
#endif

#include <Liberty3D/Engine/YieldInstruction.h>

using namespace Liberty::Engine;

YieldInstruction::YieldInstruction() {
}

WaitForSeconds::WaitForSeconds(Performance::Counter delay) : _delay(delay) {
}

WaitForSeconds::WaitForSeconds(double seconds) : _delay(Performance::fromSeconds(seconds)) {
}

double WaitForSeconds::seconds() const {
    return Performance::toSeconds(_delay);
}
